package com.cskaoyan.bean.param;

import lombok.Data;

/**
 * @author Yan Dexuan
 * @since 2022/06/25 20:43
 */
@Data
public class DashboardVo {

    Integer goodsTotal;

    Integer userTotal;

    Integer productTotal;

    Integer orderTotal;

    public static DashboardVo setDashboradVo(Integer goodsTotal,Integer userTotal,Integer productTotal,Integer orderTotal){

        DashboardVo dashboardVo = new DashboardVo();
        dashboardVo.setGoodsTotal(goodsTotal);
        dashboardVo.setUserTotal(userTotal);
        dashboardVo.setProductTotal(productTotal);
        dashboardVo.setOrderTotal(orderTotal);

        return dashboardVo;

    }

}
